import {instance } from '@/utils/request'

// /服务症状
export function getServiceSymptom(current=1, size=10) {
  return instance({
    url:"admin/serviceSymptom/list",
    method:"post",
    data:{
      current,
      size
    }
  })
}
//服务症状新增
export function addServiceSymptom(data) {
  return instance({
    url:"admin/serviceSymptom/add",
    method:"post",
    data
  })
}


//获取服务群体
export function getServiceQ(current=1, size=10) {
  return instance({
    url:"admin/serviceClass/list",
    params:{
      current,
      size
    }
  })
}
//服务群体新增 /admin/serviceClass/save
export function addServiceQ(data) {
  return instance({
    url:"admin/serviceClass/save",
    method:"post",
    data
  })
}
//服务群体修改 /admin/serviceClass/save
export function updateServiceQ(data) {
  return instance({
    url:"admin/serviceClass/update",
    method:"post",
    data
  })
}
///admin/serviceClass/del
//服务群体删除 /admin/serviceClass/del
export function delServiceQ(params) {
  return instance({
    url:"/admin/serviceClass/del",
    method:"post",
    params
  })
}
